package com.ruoyi.chat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 好友请求记录对象 friend_request
 * 
 * @author zhc
 * @date 2025-05-31
 */
public class FriendRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 添加好友，发起请求的用户id */
    @Excel(name = "添加好友，发起请求的用户id")
    private String myId;

    /** 要添加的朋友的id */
    @Excel(name = "要添加的朋友的id")
    private String friendId;

    /** 好友的备注名 */
    @Excel(name = "好友的备注名")
    private String friendRemark;

    /** 请求的留言，验证消息 */
    @Excel(name = "请求的留言，验证消息")
    private String verifyMessage;

    /** 请求被好友审核的状态，0-待审核；1-已添加，2-已过期 */
    @Excel(name = "请求被好友审核的状态，0-待审核；1-已添加，2-已过期")
    private Long verifyStatus;

    /** 发起请求的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起请求的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setMyId(String myId) 
    {
        this.myId = myId;
    }

    public String getMyId() 
    {
        return myId;
    }

    public void setFriendId(String friendId) 
    {
        this.friendId = friendId;
    }

    public String getFriendId() 
    {
        return friendId;
    }

    public void setFriendRemark(String friendRemark) 
    {
        this.friendRemark = friendRemark;
    }

    public String getFriendRemark() 
    {
        return friendRemark;
    }

    public void setVerifyMessage(String verifyMessage) 
    {
        this.verifyMessage = verifyMessage;
    }

    public String getVerifyMessage() 
    {
        return verifyMessage;
    }

    public void setVerifyStatus(Long verifyStatus) 
    {
        this.verifyStatus = verifyStatus;
    }

    public Long getVerifyStatus() 
    {
        return verifyStatus;
    }

    public void setRequestTime(Date requestTime) 
    {
        this.requestTime = requestTime;
    }

    public Date getRequestTime() 
    {
        return requestTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("myId", getMyId())
            .append("friendId", getFriendId())
            .append("friendRemark", getFriendRemark())
            .append("verifyMessage", getVerifyMessage())
            .append("verifyStatus", getVerifyStatus())
            .append("requestTime", getRequestTime())
            .toString();
    }
}
